﻿using FluentValidation;

namespace Services.Identity.WebApi.Request.User;

public class GetActivityAllMessageRequest
{
    public long ActivityId { get; set; }
}
public class GetActivityAllMessageRequestValidator:AbstractValidator<GetActivityAllMessageRequest>
{
    public GetActivityAllMessageRequestValidator()
    {
        RuleFor(x => x.ActivityId).NotEmpty().NotNull().WithMessage("获取活动消息时活动索引不能为空");
    }
}
